package com.xinqi.modules.homework.homework.dto.req;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 作业分享
 *
 * @author: system
 * @date: 2023/03/09
 */
@Data
public class CourseHomeworkStudentLogShareDTO implements Serializable {

    /**
     * 学生记录表主键ID
     */
    @NotNull(message = "学生作业日志ID不能为空")
    private Long id;
    /**
     * 分享理由
     */
    @Size(min = 0, max = 300, message = "{course.content.title.length.valid}")
    private String sharetitle;
    /**
     * 1分享,已批阅的才能看到
     */
    @NotNull(message = "已批阅的才能看到不能为空")
    private Integer isReviewed;
    /**
     * 是否匿名分享 0 否 1是
     */
    @NotNull(message = "是否匿名分享不能为空")
    private Integer anonymous;


}
